#ifndef COMPL_H
#define COMPL_H
#include<iostream>
#include<cmath>

class Compl
{
public:
    Compl();
    Compl(double a, double b);
    double Re;
    double Im;
    Compl operator-(Compl z);
    Compl operator+(Compl z);
    Compl operator*(Compl z);
    Compl operator/(Compl z);
    Compl operatorabs(Compl z);


  friend std::ostream & operator<<(std::ostream & out, const Compl & x);

};

#endif // COMPL_H
